package com.sell.form;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.google.gson.annotations.SerializedName;
import lombok.Data;
import javax.validation.constraints.NotEmpty;

/**
 * @author: lichujun
 * @date: 2018-08-16
 */
@Data
public class OrderForm {
    /** 买家名字 */
    @NotEmpty(message = "名字不能为空")
    private String name;

    /** 买家手机号码 */
    @NotEmpty(message = "手机号码不能为空")
    private String phone;

    /** 买家地址 */
    @NotEmpty(message = "地址不能为空")
    private String address;

    /** 买家openid */
    @NotEmpty(message = "openid不能为空")
    private String openid;

    /** 购物车 */
    @NotEmpty(message = "购物车不能为空")
    private String items;
}
